<%@ page language="java" pageEncoding="UTF-8"%>
<%@ page import="whu.iss.pojo.UserCustom" %>
<%@ page import="java.util.List" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
<meta charset="UTF-8">
<title>主页</title>
</head>
<body>
<%String path=request.getContextPath();
  String current_user=request.getSession().getAttribute("CURRENTUSER").toString(); %>

<h1>HelloWorld!</h1>
<span>当前用户：[<%=current_user %>]</span>
<input type="button" value="点击发表文章" 
       onclick="window.location.href='publish.jsp'"/>
</body>
</html>